import http from '@/service/http'
import type * as T from '@/types/api/index'
const userApi: T.IUserApi = {
  sign() {
    return http.get('/user/sign')
  },
  expenditureLog(data) {
    return http.post('/user/expenditureLog', data)
  },
  revenueLog(data) {
    return http.post('/user/revenueLog', data)
  },
  otherUser(params) {
    return http.get('/user/getUser', params)
  }
}

export default userApi
